// i.d(t, { P: () => ModelRatingViewData })
import Data from "../object/Data"
import ObservableValue from "../observer/observable.value"
export default class ModelRatingViewData extends Data {
  isDialogVisible: ObservableValue<boolean>

  constructor() {
    super()
    this.name = "model-rating-view-data"
    this.isDialogVisible = new ObservableValue(!1)
  }
  setDialogVisible(e: boolean) {
    this.isDialogVisible.value = e || !this.isDialogVisible.value
  }
  onDialogVisibleChanged(e: any) {
    return this.isDialogVisible.onChanged(e)
  }
  getIsDialogVisible() {
    return this.isDialogVisible.value
  }
}
